package gui;

import java.awt.BorderLayout;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JLabel;
import java.awt.Font;
import java.awt.Color;
import javax.swing.JTextField;
import javax.swing.JButton;
import java.awt.List;

public class FrameCdProcurar extends JFrame {

	private JPanel contentPane;
	private JTextField textField;
	private JTextField textField_1;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					FrameCdProcurar frame = new FrameCdProcurar();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public FrameCdProcurar() {
		setTitle("Manipula\u00E7\u00E3o de CDs | Busca");
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 480, 300);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		contentPane.setLayout(null);
		
		JLabel lblBuscarCds = new JLabel("Buscar CDs");
		lblBuscarCds.setForeground(Color.DARK_GRAY);
		lblBuscarCds.setFont(new Font("Eras Demi ITC", Font.PLAIN, 16));
		lblBuscarCds.setBounds(184, 11, 140, 31);
		contentPane.add(lblBuscarCds);
		
		JLabel label = new JLabel("T\u00EDtulo:");
		label.setBounds(10, 44, 46, 14);
		contentPane.add(label);
		
		textField = new JTextField();
		textField.setColumns(10);
		textField.setBounds(46, 41, 297, 20);
		contentPane.add(textField);
		
		JLabel label_1 = new JLabel("Artista:");
		label_1.setBounds(10, 69, 46, 14);
		contentPane.add(label_1);
		
		textField_1 = new JTextField();
		textField_1.setColumns(10);
		textField_1.setBounds(56, 66, 287, 20);
		contentPane.add(textField_1);
		
		JButton btnProcurar = new JButton("Procurar");
		btnProcurar.setBounds(353, 44, 101, 39);
		contentPane.add(btnProcurar);
		
		List listBuscaCds = new List();
		listBuscaCds.setBounds(10, 97, 444, 155);
		contentPane.add(listBuscaCds);
	}
}
